#ifndef _MODEL_OPENPOSE_OPENPOSEINFERENCE_
#define _MODEL_OPENPOSE_OPENPOSEINFERENCE_

#include "../../../function.h"

namespace sp::Model::Openpose{

void registe_openpose_inference();

class openpose_inference: public PythonFunction, public GpuFunction{
private:
    
public:
    openpose_inference(std::vector<std::string> v);
    openpose_inference();
    virtual ~openpose_inference();
    static void registe();
    static Function* createObject(std::vector<std::string> params);
    static Function* createObject2();
    virtual void start();
    virtual bool waitForResource();
    virtual void process(std::vector<std::vector<Data*>>& data_input, std::vector<Data*>& data_output);
    virtual bool releaseResource();
    virtual void finish();
    virtual void copy(Function* other);
};

};

#endif